package com.gl.saasservice.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

/**
 * 用户角色关系表
 */
@Entity
@Table(name = "saas_user_role_ref")
public class UserRole extends IdEntity {

    /**
     * 角色id
     */
    private Long roleId;

    /**
     * 用户id
     */
    private String userId;

    public Long getRoleId() {
        return roleId;
    }

    public void setRoleId(Long roleId) {
        this.roleId = roleId;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }
}
